<?php
$title = 'title'.$rear;
    $alias = 'alias'.$rear;
    $intro = 'introtext'.$rear;
    $full = 'fulltext'.$rear;
?>
<div class="brucband">
	<ul>
		<li class="home">
			<a title="" href="<?php echo base_url()?>"><?php echo $this->lang->line('home');?> >></a>
		</li>
        <?php if(!empty($cat1)){
            $c = count($cat1);
            $i = 0;
            foreach ($cat1 as $cc){
                if($i <$c-1){   
            ?>
    		<li>
    			<a title="<?php echo $cc->$title ;?>" href="<?php echo base_url().$cc->$alias.'-menu'.$cc->id.'.html'; ?>"><?php echo $cc->$title ;?> >></a>
    		</li>
        <?php }
            $i++;
        }}?>
        <?php if(!empty($catdetail)){?>
            <li>
    			<a title="<?php echo $catdetail->$title ;?>" href="<?php echo base_url().$catdetail->$alias.'-menu'.$catdetail->id.'.html'; ?>"><?php echo $catdetail->$title ;?> >></a>
    		</li>
        <?php }?>
        <?php if(!empty($cat)){?>
		<li>
			<span><?php echo $cat->$title ;?></span>
		</li>
        <?php }?>
        <?php if(!empty($catserch)){?>
		<li>
			<span><?php echo $catserch;?></span>
		</li>
        <?php }?>
        <?php if(!empty($new)){?>
        <li>
			<span><?php echo $new->$title ;?></span>
		</li>  
        <?php }?>
      	</ul>
</div>
<div class="clearfix"></div>